package cn.otrue.patienthealthmanager.http;

/**
 * http通讯常量类
 * 
 * @author G
 * 
 */
public class HttpCons {

	// 请求相关

	// 地址
	//
	// public static final String URL =
	// "http://192.168.1.109:8085/httpInterface/";// 王
	// public static final String URL =
	// "http://192.168.1.131:8085/httpInterface/";// 少君

	// public static final String URL =
	// "http://192.168.1.129:8080/httpInterface/";// 段政

	public static final String URL = "http://211.157.146.141:7998/health/httpInterface/";// 外网

	public static final String uploadURL = "http://211.157.146.141:7998/health/";

	// 响应相关
	public static final String STATE = "state";
	public static final String MESSAGE = "msg";
	public static final String DATA = "data";
	public static final String TOKEN = "token";

	public static final String STATE_SUCCESS = "001";
	// json格式错误
	public static final String STATE_FORMAT_ERROR = "997";
	// json解析错误
	public static final String STATE_ANALYTICAL_ERROR = "998";
	// 网络错误
	public static final String STATE_EXCEPTION = "999";

	public static final String BLOWFISH_KEY = "!@#$%^otrue123456";

	public static final String ANDROID_PATIENT_CHANNEL = "otrue_android_patient_channel";

	// ////////////////////////////////////////////////////////////////////////////////////////////////////
	// 登陆
	public static final String LOGIN = "PatientBaseInfo/patientLogin.do";
	// 下线
	public static final String ONLINE_USER_DOWN = "online/onlineUserDown.do";
	// 推送绑定
	public static final String OperateBaiduChannelIdMapperPatientAccount = "PatientBaseInfo/OperateBaiduChannelIdMapperPatientAccount.do";
	// 关于我们
	public static final String QueryTelpCenter = "HelpCenter/QueryTelpCenter.do";
	// 附近申请人数
	public static final String querHospitalApplicationInformation = "ApplyHospital/querHospitalApplicationInformation.do";
	// 附近申请

	public static final String addInfirmaryInfo = "ApplyHospital/addInfirmaryInfo.do";

	// 关注医生||私人医生
	public static final String QUERY_ATTENTION_INFO = "doctor/queryAttentionInfo.do";

	// 全部医生
	public static final String QUERY_DOCTOR_LIST = "doctor/queryDoctorlistByPage.do";
	// 患者->添加关注
	public static final String INSERT_DOCTOR_ATTENTIONINFO = "attention/insertDoctorAttentionInfo.do";
	// 患者->取消关注
	public static final String DELETE_DOCTOR_ATTENTION_INFO = "attention/updateDoctorAttentionInfo.do";
	// 患者->购买服务
	public static final String insertDoctorPointService = "doctorPointService/insertDoctorPointService.do";
	// 数据采集->添加心率
	public static final String INSERT_HEART_RATE = "PatientMeasureHeartrateRecord/insertHeartRate.do";
	// 数据采集->添加血压
	public static final String INSERT_BLOOD_PRESSURE = "PatientMonitorBloodpressureRecord/insertBloodPressure.do";
	// 数据采集->添加血糖
	public static final String INSERT_BLOOD_GLUCOSE = "PatientMonitorSugarRecord/insertBloodGlucose.do";
	// 数据采集->添加其它症状
	public static final String INSERT_PATIENT_SYMPTOM = "PatientSymptom/insertPatientSymptom.do";
	// 数据采集->添加全部数据
	public static final String ADD_SUGARBLOODPRESSUREHEARTRATEOFOTHER_DISEASES = "PatientMonitorSugarRecord/addSugarBloodPressureHeartRateOfOtherDiseases.do";
	// 数据采集->得到全部数据
	public static final String BLOOD_PRESSURE_DATA_QUERY_PATIENTSADAY = "PatientMonitorSugarRecord/BloodPressureDataQueryPatientsADay.do";
	// 数据采集->疾病列表
	public static final String QUERY_PATIENT_SYMPTOM_LIST = "DeseaseBaseinfo/queryPatientSymptom.do";

	// 健康计划->查看计划模板
	public static final String QUERY_DOCTOR_BLOOD_SUGAR_TEMPLATE_MONITOR_PLANLIST = "doctorbloodsugartemplatemonitorplan/queryDoctorBloodsugarTemplateMonitorPlanList.do";
	// 健康计划->健康计划列表
	public static final String QUERY_PATIENT_RUNPLAN = "plan/queryPatientRunPlan.do";
	// 健康计划->查询血糖计划
	public static final String QUERYPATIENT_RUN_MONITOR_BLOODSUGAR_PLAN = "plan/querypatientRunMonitorBloodsugarPlan.do";
	// 健康计划->查询血压计划
	public static final String QUERYPATIENT_RUN_MONITOR_BLOODPRESSURE_PLAN = "plan/querypatientRunMonitorBloodpressurePlan.do";
	// 健康计划->查询用药计划
	public static final String QUERYPATIENT_RUN_MONITOR_DRUG_PLAN = "plan/querypatientRunMonitorDrugPlan.do";
	// 健康计划->查询全部药品（分类）
	public static final String QUERY_DRUG_TYPE = "drug/querydrugtype.do";
	// 健康计划->新增全部计划
	public static final String INSERT_PLAN = "plan/insertplan.do";
	// 健康计划->修改全部计划
	public static final String UPDATET_PLAN = "plan/updatetplan.do";
	// 健康计划->新增模板
	public static final String INSERT_DOCTOR_BLOODSUGAR_TEMPLATE_MONITOR_PLAN = "doctorbloodsugartemplatemonitorplan/insertDoctorBloodsugarTemplateMonitorPlan.do";

	// 数据统计->统计血糖
	public static final String QUERY_BLOOD_GLUCOSE = "PatientMonitorSugarRecord/queryBloodGlucose.do";
	// 数据统计->统计心率
	public static final String QUERY_BLOOD_PRESSURE_HEART_RATE_VALUE = "PatientMeasureHeartrateRecord/queryBloodPressureHeartRateValue.do";
	// 数据统计->统计血压
	public static final String QUERY_BLOOD_PRESSURE_HEART_RATE = "PatientMonitorBloodpressureRecord/queryBloodPressureHeartRate.do";
	// 数据统计->统计血糖正常异常次数
	public static final String QUERY_ABNORMAL_ANDNORMALRECORD_WITHSUGAR = "PatientMonitorSugarRecord/queryAbnormalAndNormalRecordWithSugar.do";
	// 数据统计->统计血压心率异常正常次数
	public static final String QUERY_ABNORMAL_ANDNORMAL_RECORD_WITHBLOOD_PRESSURE_ANDHEARTRATE = "PatientMonitorSugarRecord/queryAbnormalAndNormalRecordWithBloodpressureAndHeartrate.do";
	// 数据统计->统计其他异常正常次数
	public static final String NUMBEROF_NORMALANDABNORMAL_RATEOFTHEQUERYOTHERSYMPTOMS = "PatientSymptom/NumberOfNormalAndAbnormalRateOfTheQueryOtherSymptoms.do";
	// 数据统计->查询一天的症状（血压，心率，血糖）
	public static final String THE_QUERY_OF_DATA_IN_ADAY = "PatientMonitorSugarRecord/theQueryOfDataInADay.do";
	// 查询单天和多天的血糖
	public static final String QUERY_ONEORMORE_DAY_SUGAR = "PatientMonitorSugarRecord/DetailedInformationQueryBloodSugar.do";
	// 查询单天和多天的血压和心率
	public static final String QUERY_HEART_RATE_PRESS = "PatientMonitorBloodpressureRecord/StatisticalBloodPressureHeartRateEtc.do";
	// 数据统计->查询多天的其它症状
	public static final String QUERY_PATIENT_SYMPTOM = "PatientSymptom/queryPatientSymptom.do";

	// 免费问
	public static final String insertFreeask = "PatientBaseInfo/insertFreeask.do";

	// 聊天->评价
	public static final String ADD_THE_DOCTOR_EVALUATION = "estimateDetail/addTheDoctorEvaluation.do";

	// 修改密码
	public static final String RETRIEVE_PASSWORD = "PatientBaseInfo/RetrievePassword.do";
	// 发帖
	// 注册获取验证码
	public static final String MobileMessageVerify = "PatientBaseInfo/MobileMessageVerify.do";
	// 验证码校验
	public static final String captchaVerifieds = "PatientBaseInfo/captchaVerified.do";
	// 忘记密码的修改密码
	public static final String forgetPassword = "PatientBaseInfo/forgetPassword.do";
	// 注册
	public static final String Insert_Patient = "PatientBaseInfo/InsertPatient.do";
	// 发帖

	public static final String post_Message_Thread = "thread/postMessageThread.do";
	// 编辑详情
	public static final String update_Patient_Baseinfo = "PatientBaseInfo/updatePatientBaseinfo.do";
	// 帖子列表

	public static final String query_Thread_List = "thread/queryThreadList.do";
	// 回复列表
	public static final String answeredList = "ThreadReply/answeredList.do";
	// 点赞
	public static final String addPraiseNumber = "thread/addPraiseNumber.do";

	// 是否赞过
	public static final String InformationQueryPraise = "thread/InformationQueryPraise.do";

	// 帖子模块
	public static final String add_Module = "ThreadType/addModule.do";

	// 帖子回复
	public static final String insert_Thread_Reply = "ThreadReply/insertThreadReply.do";

	// 帖子精华
	public static final String Essential_Posts = "thread/EssentialPosts.do";

	// 帖子详情
	public static final String query_Thread_Detail = "thread/queryThreadDetail.do";

	// /////////////////////////////////////////
	// 意见反馈
	public static final String insert_FeedbackInfo = "Feedback/insertFeedbackInfo.do";

	// 健康评估查询列表
	public static final String queryHealthAssessmentReportByPage = "HealthReport/queryHealthAssessmentReportByPage.do";

	// 历史资料
	public static final String QueryHistoricalDataList = "HistoryInfo/QueryHistoricalDataList.do";
	// 图片上传
	public static final String SAVEURL = uploadURL
			+ "/ImageController/uploader.do";
	// 获取图片路径
	public static final String GETURL = uploadURL + "/upload.do/";

	// 设备绑定
	public static final String PatientBaseInfo = "PatientBaseInfo/updateDevicesn.do";
	// 设备显示
	public static final String queryDevicesn = "PatientBaseInfo/queryDevicesn.do";

	// 类型
	public static final String query_File_TypeInfo = "FileType/queryFileTypeInfo.do";
	// 添加病例
	public static final String insertHistoryInfo = "HistoryInfo/insertHistoryInfo.do";
	// 查看个人信息
	public static final String queryPatientBaseinfo = "PatientBaseInfo/queryPatientBaseinfo.do";
	// 查看医生详情
	public static final String queryDoctorByid = "doctor/queryDoctorByid.do";
	// 历史资料详情
	public static final String QueryHistoricalDataForDetails = "HistoryInfo/QueryHistoricalDataForDetails.do";
	// 健康资料详情
	public static final String HealthRstimateReportDetail = "HealthReport/DetailedQueryHealthReport.do";
	// 轮播图
	public static final String querymessageNews = "messageNews/querymessageNews.do";
	// 查询最新评价
	public static final String newEvaluationInfo = "estimateDetail/newEvaluationInfo.do";
	// 查询评价列表
	public static final String queryTheDoctorEvaluationInformation = "estimateDetail/queryTheDoctorEvaluationInformation.do";

	public static final String changeMySettings = "PatientBaseInfo/changeMySettings.do";
	// 消息列表
	public static final String QUERY_DOCTOR_MESSAGE = "doctor/query_DoctorMessage.do";
	// 查看了消息
	public static final String IFMODIFYTHEVIEW = "MessageCenter/ifModifyTheView.do";
	// 同意关注
	public static final String UPDATE_DOCTOR_ATTENTIONINFO = "attention/updateDoctorAttentionInfo.do";
	// 问卷发送回答情况列表
	public static final String QueryTheQuestionnaireList = "questionResearch/QueryTheQuestionnaireList.do";
	// 查询问卷明细
	public static final String AQuestionnaireDetailedQuery = "questionResearch/aQuestionnaireDetailedQuery.do";
	// 回答问卷
	public static final String UpdateIsChecked = "questionResearch/updateIsChecked.do";
	// 免费问
	public static final String QueryFreeaskByPage = "doctor/queryFreeaskByPage.do";
}
